package qldc.pm.tienan.model.impl;

import com.liferay.portal.kernel.exception.SystemException;

import qldc.pm.tienan.model.YeuCauTrichLuc;
import qldc.pm.tienan.service.YeuCauTrichLucLocalServiceUtil;

/**
 * The extended model base implementation for the YeuCauTrichLuc service. Represents a row in the &quot;TA_YeuCauTrichLuc&quot; database table, with each column mapped to a property of this class.
 *
 * <p>
 * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link YeuCauTrichLucImpl}.
 * </p>
 *
 * @author Brian Wing Shun Chan
 * @see YeuCauTrichLucImpl
 * @see qldc.pm.tienan.model.YeuCauTrichLuc
 * @generated
 */
public abstract class YeuCauTrichLucBaseImpl extends YeuCauTrichLucModelImpl
    implements YeuCauTrichLuc {
    /*
     * NOTE FOR DEVELOPERS:
     *
     * Never modify or reference this class directly. All methods that expect a yeu cau trich luc model instance should use the {@link YeuCauTrichLuc} interface instead.
     */
    @Override
    public void persist() throws SystemException {
        if (this.isNew()) {
            YeuCauTrichLucLocalServiceUtil.addYeuCauTrichLuc(this);
        } else {
            YeuCauTrichLucLocalServiceUtil.updateYeuCauTrichLuc(this);
        }
    }
}
